<?php

/**
 * User: hda
 * Date: 2017/4/25
 * Time: 9:40
 * Progress: 0%
 */
namespace icontroller\wechat\index;
interface ILogin
{
    /**
     * 微信登录
     * @param $scope
     * @return mixed
     */
    public function wechat($scope = 'snsapi_base');

    /***
     *@param $code
     *@param $state
     * 微信回调
     */
    public function callback($code = null, $state = null);
}